package com.bamanker.cloudconsumer.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *
 * @author bamanker
 */
@Component
@FeignClient(value = "nacos-sys",contextId = "ResClient")
public interface ResClient {

    @GetMapping("/resource1")
    Object getRes1();

    @GetMapping("/resource2")
    Object getRes2();

    @GetMapping("/resource3")
    Object getRes3();

    @GetMapping("/api/publicResource")
    Object getPublicRes();
    @GetMapping("/test01")
    Object getResTest01();

    @GetMapping("/test02")
    Object getResTest02();

    @GetMapping("/app")
    Object getResApp();

    @GetMapping("/web")
    Object getResWeb();

    @GetMapping("/projects")
    Object getResProjects();

    @GetMapping("/userInfo")
    Object getResUserInfo();

}
